package org.ftc.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 承辦人
 * 
 * @author Creasy Ho
 *
 */
@Entity
@Table(name = "IN_CHARGE")
// @Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class InCharge implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4615741885475262034L;

	@Id
	@Column(name = "IC_SEQ", length = 50)
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid", strategy = "uuid2")
	private String icSeq;

	// 分機號碼
	@Column(name = "TEL_NO")
	private String telNo;

	// 
	@Column(name = "USER_ID", length = 50)
	private String userId;

	// 承辦人名稱
	@Column(name = "NAME", length = 50)
	private String name;

	// 科長名稱
	@Column(name = "SECTION_CHIEF", length = 50)
	private String sectionChief;

	// 是否現職
	@Column(name = "STATUS")
	private String status;

	public String getIcSeq() {
		return icSeq;
	}

	public void setIcSeq(String icSeq) {
		this.icSeq = icSeq;
	}

	public String getTelNo() {
		return telNo;
	}

	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getSectionChief() {
		return sectionChief;
	}

	public void setSectionChief(String sectionChief) {
		this.sectionChief = sectionChief;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}
